package com.king.web;

import com.king.pojo.vo.AjaxResult;
import com.king.util.AjaxResultUtil;

public class BasicController {

    protected AjaxResult success() {
        return AjaxResultUtil.success();
    }

    protected AjaxResult success(Object data) {
        return AjaxResultUtil.success(data);
    }


//    protected AjaxResult failed() {
//        return new AjaxResult(null, null, null);
//    }


}
